<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/11/11 0011
 * Time: 16:30
 */
return [
    /*  接口模块定义  */

    /*==========================================
     * 公共接口
    ===============================================*/
    // 短信验证码
    'send_note' => ['path' => 'app\api\service\Common', 'method' => 'POST'],
    // 验证短信验证码
    'check_note_code' => ['path' => 'app\api\service\Common', 'method' => 'POST'],
    // 获取省市区街道地址接口
    'get_region' => ['path' => 'app\api\service\Common', 'method' => 'GET'],
    // 设置负责区域接口
    'set_duty_area' => ['path' => 'app\api\service\Common', 'method' => 'POST'],
    // 获取服务器时间接口
    'get_time' => ['path' => 'app\api\service\Common', 'method' => 'GET'],
    // 获取服务项目
    'get_items' => ['path' => 'app\api\service\Common', 'method' => 'GET', 'is_optional' => true],
    // 编辑实名认证
    'update_certification' => ['path' => 'app\api\service\Common', 'method' => 'POST'],
    // 编辑用户角色基本信息
    'update_member_role_info' => ['path' => 'app\api\service\Common', 'method' => 'POST'],
    // 验证安全密码
    'check_safe_password' => ['path' => 'app\api\service\Common', 'method' => 'GET'],
    // 加盟咨询
    'league_consult' => ['path' => 'app\api\service\Common', 'method' => 'POST'],


    /*==========================================
     * 用户接口
     ===============================================*/
    // 注册接口
    'register' => ['path' => 'app\api\service\Member', 'method' => 'POST'],
    // 登录接口
    'login' => ['path' => 'app\api\service\Member', 'method' => 'POST'],
    // 找回密码接口
    'retrieve_password' => ['path' => 'app\api\service\Member', 'method' => 'POST'],
    // 获取用户收货地址列表接口
    'get_member_address' => ['path' => 'app\api\service\MemberAddress', 'method' => 'GET'],
    // 获取用户收货地址详情接口
    'get_member_address_info' => ['path' => 'app\api\service\MemberAddress', 'method' => 'GET'],
    // 添加、编辑用户收货地址接口
    'save_member_address' => ['path' => 'app\api\service\MemberAddress', 'method' => 'POST'],
    // 获取用户资金账户列表接口
    'get_member_fund_account' => ['path' => 'app\api\service\MemberFundAccount', 'method' => 'GET'],
    // 获取用户资金账户详细信息接口
    'get_member_fund_account_info' => ['path' => 'app\api\service\MemberFundAccount', 'method' => 'GET'],
    // 添加、编辑用户资金账户接口
    'save_member_fund_account' => ['path' => 'app\api\service\MemberFundAccount', 'method' => 'POST'],
    // 提现页面数据
    'withdraw_index' => ['path' => 'app\api\service\MemberWithdraw', 'method' => 'GET'],
    // 用户申请提现接口
    'member_withdraw' => ['path' => 'app\api\service\MemberWithdraw', 'method' => 'POST'],
    // 获取用户提现记录接口
    'member_withdraw_list' => ['path' => 'app\api\service\MemberWithdraw', 'method' => 'GET'],
    // 用户资金转移接口
    'member_money_shift' => ['path' => 'app\api\service\MemberMoney', 'method' => 'POST'],
    // 获取用户账单接口
    'member_money_bill' => ['path' => 'app\api\service\MemberMoney', 'method' => 'GET'],
    // 获取用户账单详情接口
    'get_detail_info' => ['path' => 'app\api\service\MemberMoney', 'method' => 'GET'],
    // 获取用户钱包首页接口
    'get_member_wallet' => ['path' => 'app\api\service\MemberMoney', 'method' => 'GET'],
    // 创建充值订单
    'creation_recharge_order' => ['path' => 'app\api\service\MemberMoney', 'method' => 'POST'],
    // 获取用户端个人中心首页数据
    'get_member_index' => ['path' => 'app\api\service\Member', 'method' => 'GET'],
    // 检查手机号码是否存在
    'check_phone' => ['path' => 'app\api\service\Member', 'method' => 'GET'],


    /*==========================================
     * 钱包接口
     ===============================================*/
    // 钱包首页数据
    'wallet_index' => ['path' => 'app\api\service\MemberWallet', 'method' => 'GET'],


    /*==========================================
     * 分销接口
     ===============================================*/
    // 分销收益转入对应的角色余额
    'distribution_of_cash_money' => ['path' => 'app\api\service\MemberWithdraw', 'method' => 'POST'],


    /*==========================================
     * 银行卡接口
     ===============================================*/
    // 钱包首页数据
    'get_bank_info' => ['path' => 'app\api\service\Bank', 'method' => 'GET'],
    // 解除银行卡绑定
    'relieve_bank_band' => ['path' => 'app\api\service\Bank', 'method' => 'GET'],

    /*==========================================
     * 我的爱车接口
     ===============================================*/
    // 获取我的爱车列表
    'get_my_car' => ['path' => 'app\api\service\MemberCar', 'method' => 'GET'],
    // 获取我的爱车详情
    'get_my_car_info' => ['path' => 'app\api\service\MemberCar', 'method' => 'GET'],
    // 保存我的爱车
    'save_my_car' => ['path' => 'app\api\service\MemberCar', 'method' => 'POST'],
    // 设置默认车辆
    'save_default_car' => ['path' => 'app\api\service\MemberCar', 'method' => 'POST'],

    /*==========================================
     * 账号设置接口
     ===============================================*/
    // 修改手机号码
    'update_phone' => ['path' => 'app\api\service\Member', 'method' => 'POST'],
    // 设置安全密码
    'save_safe_password' => ['path' => 'app\api\service\Member', 'method' => 'POST'],
    // 修改登录密码
    'update_password' => ['path' => 'app\api\service\Member', 'method' => 'POST'],


    /*==========================================
     * 用户基本资料接口
     ===============================================*/
    // 获取基本信息
    'get_member_role_info' => ['path' => 'app\api\service\MemberRoleInfo', 'method' => 'GET'],
    // 获取字段对应信息
    'get_field_info' => ['path' => 'app\api\service\MemberRoleInfo', 'method' => 'GET'],
    // 修改基本信息
    'save_role_info' => ['path' => 'app\api\service\MemberRoleInfo', 'method' => 'POST'],
    // 实名认证信息
    'certification_info' => ['path' => 'app\api\service\MemberRoleInfo', 'method' => 'GET'],
    // 编辑实名认证信息
    'save_certification' => ['path' => 'app\api\service\MemberRoleInfo', 'method' => 'POST'],

    /*==========================================
     * 优惠券接口
     ===============================================*/
    // 创建优惠券接口
    'coupon_create' => ['path' => 'app\api\service\Coupon', 'method' => 'POST'],
    // 可领取优惠券列表接口
    'coupon_list' => ['path' => 'app\api\service\Coupon', 'method' => 'GET'],
    // 用户领取优惠券接口
    'member_get_coupon' => ['path' => 'app\api\service\Coupon', 'method' => 'POST'],
    // 用户获取可用优惠券列表接口
    'member_get_usable_coupon_list' => ['path' => 'app\api\service\Coupon', 'method' => 'GET'],
    // 获取优惠券数量
    'coupon_num' => ['path' => 'app\api\service\Coupon', 'method' => 'GET'],
    // 根据状态获取优惠券列表
    'get_coupon_list_by_status' => ['path' => 'app\api\service\Coupon', 'method' => 'GET'],


    /*==========================================
     * 服务单接口
     ===============================================*/
    // 生成服务单接口
    'order_server' => ['path' => 'app\api\service\Order', 'method' => 'POST'],
    // 维修店抢单接口
    'order_server_receiving' => ['path' => 'app\api\service\Order', 'method' => 'POST'],
    // 维修店抢单之后回复接口
    'order_server_receiving_replytime' => ['path' => 'app\api\service\Order', 'method' => 'POST'],
    // 维修店与用户沟通完毕生成正式订单接口
    'order_server_create' => ['path' => 'app\api\service\Order', 'method' => 'POST'],
    // 修改服务单接口
    'update_order_server_status' => ['path' => 'app\api\service\Order', 'method' => 'POST'],
    // 获取服务订单列表
    'order_server_list' => ['path' => 'app\api\service\Order', 'method' => 'GET'],
    // 获取服务单产品列表
    'server_order_goods' => ['path' => 'app\api\service\Order', 'method' => 'GET'],


    // 订单申请售后接口
    'order_austin' => ['path' => 'app\api\service\Order', 'method' => 'POST'],
    // 订单售后状态更改接口
    'order_austin_status' => ['path' => 'app\api\service\Order', 'method' => 'POST'],


    /*==========================================
     * 购买订单接口
     ===============================================*/
    // 创建购买订单接口
    'order_buy_create' => ['path' => 'app\api\service\Order', 'method' => 'POST'],


    /*==========================================
     * 订单公共接口
     ===============================================*/
    // 更新订单状态接口
    'update_order_status' => ['path' => 'app\api\service\Order', 'method' => 'POST'],
    // 购买订单支付接口
    'order_pay' => ['path' => 'app\api\service\Order', 'method' => 'POST'],
    // 获取订单列表接口
    'order_list' => ['path' => 'app\api\service\Order', 'method' => 'GET'],
    // 获取服务订单详情接口
    'order_server_info' => ['path' => 'app\api\service\Order', 'method' => 'GET'],
    // 删除订单接口
    'delete_order' => ['path' => 'app\api\service\Order', 'method' => 'GET'],
    // 余额支付
    'balance_paid' => ['path' => 'app\api\service\Order', 'method' => 'POST'],

    /*==========================================
     * 售后接口
     ===============================================*/
    // 服务单申请售后页面数据
    'get_order_server_austin_index_info' => ['path' => 'app\api\service\Austin', 'method' => 'GET'],
    // 获取服务单详情
    'get_austin_info' => ['path' => 'app\api\service\Austin', 'method' => 'GET'],
    // 撤销申请
    'revocation_austin' => ['path' => 'app\api\service\Austin', 'method' => 'GET'],
    // 申诉页面数据
    'get_complaint_page_info' => ['path' => 'app\api\service\Austin', 'method' => 'GET'],
    // 提交申诉
    'save_complaint' => ['path' => 'app\api\service\Austin', 'method' => 'GET'],
    
    /*==========================================
     * 评论接口
     ===============================================*/
    // 发表评论接口
    'publish_comment' => ['path' => 'app\api\service\Comment', 'method' => 'POST'],
    // 获取评论列表接口
    'get_comment_list' => ['path' => 'app\api\service\Comment', 'method' => 'GET'],
    // 获取用户评论接口
    'get_member_comment' => ['path' => 'app\api\service\Comment', 'method' => 'GET'],
    // 获取用户评论接口
    'get_comment_test' => ['path' => 'app\api\service\Comment', 'method' => 'POST'],

    //2016-12-17 pj add
    /*==========================================
     * 维修店接口
     ===============================================*/
    // 申请成为维修店接口
    'repair_create' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 审核维修店接口
    'repair_audit' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 设置维修店主营品牌接口
    'repair_brand' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 设置维修店主营服务项目接口
    'repair_maintenance_server_item' => ['path' => 'app\api\service\Repair', 'method' => 'GET'],
    // 获取维修店列表接口
    'get_repair_list' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 获取维修店详情接口
    'get_repair_info' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 获取维修店服务单列表接口
    'get_repair_server_order_list' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 获取维修店优惠券列表接口
    'get_repair_coupon_list' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 维修店自定义产品保存接口
    'repair_add_product' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 获取维修店店铺中心数据
    'repair_store_index' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 修改维修店店铺数据
    'repair_info_change' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 修改维修店店鋪经营范围
    'repair_item_change' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 获取维修店业务首页数据
    'repair_index_data' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 获取维修店业务订单列表数据
    'repair_get_orders' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 获取维修店业务订单列表数据(地图范围内)
    'repair_get_orders_map' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 获取维修店业务订单信息
    'repair_order_info' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 搜索维修店自定义产品接口
    'repair_so_product' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 搜索维修店历史推送订单接口
    'repair_order_push_history' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 根据手机号码返回可以推送的订单
    'repair_phone_so_order' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 生成扫码支付订单
    'creation_scan_code_pay_order' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 获取售后单列表
    'repair_austin_list' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 获取投诉单列表
    'repair_complaint_list' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 确认推送订单
    'repair_order_push' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 添加维修店自定义产品保存接口
    'repair_order_product_server_add' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 修改推送订单服务或商品的数量
    'repair_order_product_server_update' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 删除推送订单服务或商品
    'repair_order_product_server_delete' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 搜索维修店历史销售订单的用户接口
    'repair_deal_push_history' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 根据手机号码创建直接推送的维修店商品销售订单
    'repair_phone_so_deal' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 获取维修店销售采购订单数据
    'repair_deal_info' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 添加维修店销售订单商品
    'repair_order_product_server_deal_add' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 修改推送销售订单商品的数量
    'repair_order_product_server_deal_update' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 删除维修店销售订单商品
    'repair_order_product_server_deal_delete' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],
    // 确认推送维修店销售订单
    'repair_deal_push' => ['path' => 'app\api\service\Repair', 'method' => 'POST'],

    // 获取服务订单列表接口(维修店)
    'repair_order_server_list' => ['path' => 'app\api\service\Order', 'method' => 'POST'],
    // 获取售后单列表
    'order_austin_list' => ['path' => 'app\api\service\Order', 'method' => 'POST'],
    // 获取投诉单列表
    'order_complaint_list' => ['path' => 'app\api\service\Order', 'method' => 'POST'],
    // 获取订单列表接口
    'repair_order_list' => ['path' => 'app\api\service\Order', 'method' => 'POST'],
    // 重新推送订单接口
    'push_again' => ['path' => 'app\api\service\Order', 'method' => 'POST'],
    // 获取服务订单列表接口(维修店)
    'repair_order_server_list_deal' => ['path' => 'app\api\service\Order', 'method' => 'POST'],
    // 销售采购订单支付接口
    'deal_pay' => ['path' => 'app\api\service\Order', 'method' => 'POST'],


    /*==========================================
     * 店铺接口
     ===============================================*/
    // 申请成为店铺接口
    'shop_create' => ['path' => 'app\api\service\Shop', 'method' => 'POST'],
    // 审核店铺接口
    'shop_audit' => ['path' => 'app\api\service\Shop', 'method' => 'POST'],
    // 添加店铺产品接口
    'save_shop_product' => ['path' => 'app\api\service\Shop', 'method' => 'POST'],
    // 添加店铺产品接口
    'add_shop_product_img' => ['path' => 'app\api\service\Shop', 'method' => 'POST'],

    /*==========================================
     * 经销商接口
     ===============================================*/
    // 申请成为经销商接口
    'dealer_create' => ['path' => 'app\api\service\Dealer', 'method' => 'POST'],
    // 审核经销商接口
    'dealer_audit' => ['path' => 'app\api\service\Dealer', 'method' => 'POST'],
    // 获取经销商信息接口
    'get_dealer_info' => ['path' => 'app\api\service\Dealer', 'method' => 'GET'],

    /*==========================================
     * 合伙人接口
     ===============================================*/
    // 申请成为合伙人接口
    'partner_create' => ['path' => 'app\api\service\Partner', 'method' => 'POST'],
    // 审核合伙人接口
    'partner_audit' => ['path' => 'app\api\service\Partner', 'method' => 'POST'],
    // 获取合伙人信息接口
    'partner_info' => ['path' => 'app\api\service\Partner', 'method' => 'GET'],
    // 获取合伙人团队接口
    'partner_team' => ['path' => 'app\api\service\Partner', 'method' => 'GET'],
    // 获取合伙人首页数据接口
    'partner_index_data' => ['path' => 'app\api\service\Partner', 'method' => 'GET'],
    // 获取经销商团队信息
    'dealer_team' => ['path' => 'app\api\service\Partner', 'method' => 'GET'],
    // 获取下级维修店团队
    'repair_team' => ['path' => 'app\api\service\Partner', 'method' => 'GET'],
    // 获取下级合伙人团队
    'subordinate_partner' => ['path' => 'app\api\service\Partner', 'method' => 'GET'],
    // 获取合伙人详情
    'get_partner_info' => ['path' => 'app\api\service\Partner', 'method' => 'GET'],
    // 审核接口
    'audit' => ['path' => 'app\api\service\Partner', 'method' => 'POST'],
    // 审核进度接口
    'audit_schedule' => ['path' => 'app\api\service\Partner', 'method' => 'GET'],

    /*==========================================
     * 购物车接口
     ===============================================*/
    // 购物车添加产品接口
    'save_cart_product' => ['path' => 'app\api\service\Cart', 'method' => 'POST'],

    /*==========================================
     * 品牌接口
     ===============================================*/
    // 获取品牌列表
    'brand_list' => ['path' => 'app\api\service\Brand', 'method' => 'GET'],
    // 获取品牌详情
    'get_brand_info' => ['path' => 'app\api\service\Brand', 'method' => 'GET'],
    // 获取品牌下型号列表
    'brand_model_list' => ['path' => 'app\api\service\Brand', 'method' => 'GET'],
    // 获取品牌下型号详情
    'get_brand_model_info' => ['path' => 'app\api\service\Brand', 'method' => 'GET'],

    /*==========================================
     * 签到接口
     ===============================================*/
    // 签到页面
    'index_registration' => ['path' => 'app\api\service\Registration', 'method' => 'POST'],
    // 签到
    'save_registration' => ['path' => 'app\api\service\Registration', 'method' => 'POST'],
    // 检查当天是否已经签到接口
    'check_registration' => ['path' => 'app\api\service\Registration', 'method' => 'GET'],
    // 接口明细
    'get_sign_in_list' => ['path' => 'app\api\service\Registration', 'method' => 'GET'],

    /*==========================================
     * 摩豆接口
     ===============================================*/
    // 获取账户摩豆数量接口
    'get_integral_count' => ['path' => 'app\api\service\Integral', 'method' => 'GET'],
    // 获取账户摩豆记录接口
    'get_integral_list' => ['path' => 'app\api\service\Integral', 'method' => 'GET'],
    // 添加摩豆接口（add_integral)
    'add_integral' => ['path' => 'app\api\service\Integral', 'method' => 'POST'],

    /*==========================================
     * 消息接口
     ===============================================*/
    // 获取未读消息数量接口
    'get_msg_unread_count' => ['path' => 'app\api\service\Message', 'method' => 'GET'],
    // 获取消息列表接口
    'get_msg_list' => ['path' => 'app\api\service\Message', 'method' => 'GET'],
    // 获取消息信息接口
    'get_msg_info' => ['path' => 'app\api\service\Message', 'method' => 'GET'],
    // 修改消息状态接口
    'update_msg_status' => ['path' => 'app\api\service\Message', 'method' => 'POST'],

    /*==========================================
     * 客服接口
     ===============================================*/
    // 常见问题列表
    'get_faq_list' => ['path' => 'app\api\service\Server', 'method' => 'GET'],
    // 常见问题详情
    'get_faq_info' => ['path' => 'app\api\service\Server', 'method' => 'GET'],
    // 用户反馈
    'member_feedback' => ['path' => 'app\api\service\Server', 'method' => 'POST'],


    /*==========================================
       * 上传接口
       ===============================================*/
    // 上传图片
    'upload_image' => ['path' => 'app\api\service\Upload', 'method' => 'POST'],

    /*==========================================
       * 第三方支付回调接口
       ===============================================*/
    // 微信支付回调接口
    'WxpayNotify' => ['path' => 'app\api\service\Notify', 'method' => 'POST'],
    // 支付宝支付回调接口
    'AlipayNotify' => ['path' => 'app\api\service\Notify', 'method' => 'POST'],


    /*==========================================
     * 云信接口
     ===============================================*/
    'get_nim_account' => ['path' => 'app\api\service\Nim', 'method' => 'GET'],






    // 测试接口
    'goods_test' => ['path' => 'app\api\service\Product', 'method' => 'GET'],
    // 获取用户列表
    'get_member_list' => ['path' => 'app\api\service\Member', 'method' => 'GET', 'is_optional' => true],
];